﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Projectmanagement.Entity;
using System.ComponentModel.DataAnnotations;

namespace Projectmanagement.Models
{
    public class _Chamber : EntityBase
    {
        [Display(Name = "会议厅格局")]
        public string ChamberStructure { get; set; }
        [Display(Name = "楼层和数量")]
        public string ChamberFloorQuantity { get; set; }
        [Display(Name = "舞台描述")]
        public string ChamberDesc { get; set; }
        [Display(Name = "层高")]
        public string ChamberStorey { get; set; }
        [Display(Name = "会议厅大小")]
        public string ChamberSize { get; set; }
        [Display(Name = "休息区的面积")]
        public string ChamberArea { get; set; }
        [Display(Name = "柱子描述")]
        public string PostDesc { get; set; }
        [Display(Name = "分割描述")]
        public string ChamberStructureDesc { get; set; }
        [Display(Name = "所属酒店")]
        public int? Customerid { get; set; }

        [Display(Name = "名称")]
        public string Name { get; set; }
        [Display(Name = "市场价")]
        public string MarketPrice { get; set; }
        [Display(Name = "参考价")]
        public string ReferencePrice { get; set; }
        [Display(Name = "会场面积")]
        public string MeetingArea { get; set; }

        [Display(Name = "会议厅格局")]
        public string ChamberStructureFormat
        {
            get
            {
                switch (this.ChamberStructure)
                {
                    case "1":
                        return "分割";
                    case "2":
                        return "不可分割";
                    default:
                        return string.Empty;
                }
            }
        }
    }
}